import { talks } from "../../types/talks";
import { BaseRequest, BaseResponse, BaseConf } from "../base";
import { ObjectId } from 'mongodb';

export interface ReqNewTalks extends BaseRequest {
    photos?: Array<{
        fileName: string;
        fileData: Uint8Array;
        fileType: string;
    }>;
    context:string
    course:ObjectId
}

export interface ResNewTalks extends BaseResponse {
    talk:talks
}

export const conf: BaseConf = {
    needLogin: true
}